/* Copyright 2018 JDCLOUD.COM

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http:#www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.





Contact: 

NOTE: This class is auto generated by the jdcloud code generator program.
*/

 

#ifndef AgModel_h
#define AgModel_h

@interface AgQuota :NSObject

/// 资源类型[ag]
@property (strong,nonatomic,nonnull)  NSString*  resourceType;

/// 配额上限
@property (strong,nonatomic,nonnull)  NSNumber*  limit;

/// 已用配额
@property (strong,nonatomic,nonnull)  NSNumber*  used;


-(id) initWithResourceType:(NSString*) resourceType
    limit:(NSNumber*)limit
    used:(NSNumber*)used;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface AvailabilityGroup :NSObject

/// 可用组id
@property (strong,nonatomic,nonnull)  NSString*  idValue;

/// 可用组name
@property (strong,nonatomic,nonnull)  NSString*  name;

/// 描述，length:0-256
@property (strong,nonatomic,nonnull)  NSString*  descriptionValue;

/// 实例模板的Id
@property (strong,nonatomic,nonnull)  NSString*  instanceTemplateId;

/// 可用区域
@property (strong,nonatomic,nonnull)  NSArray<NSString*>*  azs;

/// 可用组类型，支持vm
@property (strong,nonatomic,nonnull)  NSString*  agType;

/// 创建时间
@property (strong,nonatomic,nonnull)  NSString*  createTime;

/// 可用组中实例的数量
@property (strong,nonatomic,nonnull)  NSNumber*  count;

/// 是否开启自动伸缩
@property (strong,nonatomic,nonnull)  NSNumber*  autoScaling;


-(id) initWithId:(NSString*) idValue
    name:(NSString*)name
    descriptionValue:(NSString*)descriptionValue
    instanceTemplateId:(NSString*)instanceTemplateId
    azs:(NSArray<NSString*>*)azs
    agType:(NSString*)agType
    createTime:(NSString*)createTime
    count:(NSNumber*)count
    autoScaling:(NSNumber*)autoScaling;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end

#endif /* AgModel_h */
